<?php

defined ( '_JEXEC' ) or die ( 'Restricted access' );

class TOOLBAR_fudbal {
	
	function _NEW() {
		JToolBarHelper::save ();
		JToolBarHelper::apply ();
		JToolBarHelper::cancel ();
	}
	function _DEFAULT() {
		JToolBarHelper::title ( JText::_ ( 'Swimmer Times' ), 'generic.png' );
		JToolBarHelper::publishList ();
		JToolBarHelper::unpublishList ();
		JToolBarHelper::editList ();
		JToolBarHelper::deleteList ();
		JToolBarHelper::addNew ();
	}
}

class TOOLBAR_fudbal_kola {
	
	function _EDIT()
	{
		JToolBarHelper::save('sacuvajKolo');
		JToolBarHelper::apply ('primeniIzmeneKola');
		JToolBarHelper::cancel('kolo');
	}
	
	function _DEFAULT()
	{
		JToolBarHelper::title( JText::_( 'KOLA' ), 'generic.png' );
		JToolBarHelper::editList('editujKolo');
		JToolBarHelper::deleteList(JText::_( 'KOLO_DEL_WARN' ), 'obrisiKolo');
		JToolBarHelper::addNew ('editujKolo');
	}
}

class TOOLBAR_fudbal_lige {
	
	function _EDIT()
	{
		JToolBarHelper::save('sacuvajLigu');
		JToolBarHelper::apply ('primeniIzmeneLige');
		JToolBarHelper::cancel('lige');
	}
	
	function _DEFAULT()
	{
		JToolBarHelper::publishList('ligapublish', 'LIGA_AKTIVIRAJ');
		JToolBarHelper::unpublishList('ligaunpublish', 'LIGA_DEAKTIVIRAJ');
		JToolBarHelper::title( JText::_( 'LIGE' ), 'generic.png' );
		JToolBarHelper::editList('editujLigu');
		JToolBarHelper::deleteList(JText::_( 'LIGA_DEL_WARN' ), 'obrisiLigu');
		JToolBarHelper::addNew ('editujLigu');
	}
}

class TOOLBAR_fudbal_mtimes {
	
	function _EDIT()
	{
		JToolBarHelper::save('saveMtimes');
		JToolBarHelper::apply ('saveMtimes');
		JToolBarHelper::cancel('motiv_times');
	}
	
	function _DEFAULT()
	{
		JToolBarHelper::title( JText::_( 'Motivational Times' ), 'generic.png' );
		JToolBarHelper::editList('editMtimes');
		JToolBarHelper::deleteList('Are you sure you want to remove	these motivational times?', 'removeMtimes');
		JToolBarHelper::addNew ('editMtimes');
	}
}

class TOOLBAR_fudbal_treneri {
	
	function _EDIT()
	{
		JToolBarHelper::save('sacuvajTrenera');
		JToolBarHelper::apply ('primeniIzmeneTrenera');
		JToolBarHelper::cancel('treneri');
	}
	
	function _DEFAULT()
	{
		JToolBarHelper::publishList('trenerpublish', 'TRENER_AKTIVIRAJ');
		JToolBarHelper::unpublishList('trenerunpublish', 'TRENER_DEAKTIVIRAJ');
		JToolBarHelper::title( JText::_( 'TRENERI' ), 'generic.png' );
		JToolBarHelper::editList('editujTrenera');
		JToolBarHelper::deleteList('TRENERI_DEL_WARN', 'obrisiTrenera');
		JToolBarHelper::addNew ('editujTrenera');
	}
}


class TOOLBAR_fudbal_klubovi {
	
	function _EDIT()
	{
		JToolBarHelper::save('sacuvajKlub');
		JToolBarHelper::apply ('primeniIzmeneKluba');
		JToolBarHelper::cancel('klubovi');
	}
	
	function _DEFAULT()
	{
		JToolBarHelper::publishList('klubpublish', 'KLUB_AKTIVIRAJ');
		JToolBarHelper::unpublishList('klubunpublish', 'KLUB_DEAKTIVIRAJ');
		JToolBarHelper::title( JText::_( 'KLUBOVI' ), 'generic.png' );
		JToolBarHelper::editList('editujKlub');
		JToolBarHelper::deleteList('KLUBOVI_DEL_WARN', 'obrisiKlub');
		JToolBarHelper::addNew ('editujKlub');
	}
}

class TOOLBAR_fudbal_qtimes {
	
	function _EDIT()
	{
		JToolBarHelper::save('saveQtimes');
		JToolBarHelper::apply ('saveQtimes');
		JToolBarHelper::cancel('qf_times');
	}
	
	function _DEFAULT()
	{
		JToolBarHelper::title( JText::_( 'Qualifying Times' ), 'generic.png' );
		JToolBarHelper::editList('editQtimes');
		JToolBarHelper::deleteList('Are you sure you want to remove	these qualifying times?', 'removeQtimes');
		JToolBarHelper::addNew ('editQtimes');
	}
}
?>